Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds unsubscribe method #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Adds unsubscribe method #2

wants to merge 1 commit into from

Conversation

klyr
Copy link

@klyr klyr commented Sep 14, 2021

The 'sid' parameter is the 'sid' returned by the subscribe method.

The 'sid' parameter is the 'sid' returned by the subscribe method.
@3kwa
Copy link
Owner

3kwa commented Sep 16, 2021

Thanks Julien!

I did not implement unsubscribe initially because I had no need for it so interested in knowing that you do.

When I was thinking about it I was wondering about making the client "smarter" by unsubscribing by "subject" instead of sid i.e. the client keeps track of what sid is associated to what subscription so the user does not have to.

Would that work for you?

@klyr
Copy link
Author

klyr commented Sep 21, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants